<?php
require_once(dirname(__FILE__).'/inc/header.php');

$data_login = new data_login();
$is_login = $data_login->login_by_cookie();

if ($is_login) {
	echo loadMod('glob/header/1m');
	echo loadMod('saved/default');
	require_once(dirname(__FILE__).'/inc/footer.php');
} else {
	header('Location:/');
}

?>